package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 房东对象 house_host
 * 
 * @author ruoyi
 * @date 2024-04-26
 */
public class HouseHost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 家庭成员ID */
    private Long hostId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String hostName;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 关系 */
    @Excel(name = "关系")
    private String relationship;

    /** 房源ID */
    @Excel(name = "房源ID")
    private Long houseId;

    public void setHostId(Long hostId) 
    {
        this.hostId = hostId;
    }

    public Long getHostId() 
    {
        return hostId;
    }
    public void setHostName(String hostName) 
    {
        this.hostName = hostName;
    }

    public String getHostName() 
    {
        return hostName;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setRelationship(String relationship) 
    {
        this.relationship = relationship;
    }

    public String getRelationship() 
    {
        return relationship;
    }
    public void setHouseId(Long houseId) 
    {
        this.houseId = houseId;
    }

    public Long getHouseId() 
    {
        return houseId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("hostId", getHostId())
            .append("hostName", getHostName())
            .append("sex", getSex())
            .append("relationship", getRelationship())
            .append("houseId", getHouseId())
            .toString();
    }
}
